home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / storage / function / scsi / add / release.scr < prev    next >
Encoding:
Text File  |  1994-08-11  |  1.1 KB  |  45 lines

  1. * Reserves a logical unit or, reserves
  2. * extents within a logical unit.
  3.  
  4. @THREAD RELEASE.LOG
  5. @NEWALIAS SADD SCSIADD.GRA
  6. @IMPORT SCSICOM.SCR
  7. SADD DD_OPEN
  8.  
  9. * 0=Async mode, 1=Sync mode
  10. SADD SET MODE=1
  11.  
  12. * Command completion timeout (Secs)
  13. * 0=the assigned value is the default set by the driver,
  14. * -1=the assigned value is infinite.
  15. SADD SET TIMEOUT=0
  16.  
  17. * 0 = terminates all non-third-party logical unit and
  18. *     extent reservations that are active on the
  19. *     specified logical unit.
  20. *     The reservation ID field is ignored.
  21. * 1 = terminates any reservation matching the reservation
  22. *     identification.  Other reservations shall remain
  23. *     in effect.
  24. SADD SET EXTENT_RELEASE = 0
  25.  
  26. SADD SET THIRD_PARTY_DEVICE_ID = 3
  27.  
  28. * 0 = Third Party release is not requested.
  29. * 1 = Releases the specified logical unit or extents,
  30. SADD SET THIRD_PARTY_RELEASE=0
  31.  
  32. * Reservation identification
  33. SADD SET RESERVATION_ID=0
  34.  
  35. * Extent list length in bytes
  36. SADD SET NBytes=0 
  37.  
  38. * Name for paramblock
  39. SADD SET LABEL = "RELEASE"
  40.  
  41. SADD RELEASE
  42.  
  43. SADD DD_CLOSE
  44.  
  45.